package com.dmgis.hndz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dmgis.hndz.service.Ybba02bService;
import com.dmgis.hndz.pojo.Ybba02b;
import com.dmgis.hndz.mapper.Ybba02bMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author PC
* @description 针对表【ybba02b(市级预警临时表)】的数据库操作Service实现
* @createDate 2024-01-29 17:47:43
*/
@Service
public class Ybba02bServiceImpl extends ServiceImpl<Ybba02bMapper, Ybba02b>
    implements Ybba02bService {


    @Override
    public List<Ybba02b> getProduct(String startTime, String endTime) {
        List<Ybba02b> ybba02b = baseMapper.getProduct(startTime, endTime);
        return ybba02b;
    }

    @Override
    public Ybba02b getProductone(String advcode) {
        Ybba02b ybba02b = baseMapper.getProductone(advcode);
        return ybba02b;
    }
}




